package com.ruoyi.sms.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 短信演示接口
 *
 * @author liuxin <hi@liu.xin>
 */
@RestController
@RequestMapping("/sms")
public class SmsController
{
    /**
     * 简单的健康检查接口
     *
     * @return 返回 hello world 字符串
     * @author liuxin <hi@liu.xin>
     */
    @GetMapping("/hello")
    public String hello()
    {
        return "hello world";
    }
}

